package com.example.administrator.himalaya.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebView;

import com.example.administrator.himalaya.R;

public class DetailsActivity extends AppCompatActivity {

    private WebView webView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_details);
        webView = (WebView) findViewById(R.id.details_web_view);
        Intent intent =getIntent();
        String link = intent.getStringExtra("link");
        webView.loadUrl(link);
    }
}
